﻿/*------------------------------------------------
 Author:ShenDuo
 CreatedDate:2019.3.19
 UpdatedDate:
 version:0.1
 ------------------------------------------------*/

using System.Collections.Generic;

namespace TrainsTraining.Model
{
    /// <summary>
    ///     Node definition
    /// </summary>
    public class Node
    {
        public Node(string id)
        {
            Id = id;
            EdgeList = new List<Edge>();
        }

        //node id
        public string Id { get; }

        //edge list
        public List<Edge> EdgeList { get; }
    }
}